Optimal. Leaf size=198 \[ \frac {45 x^2}{128 a^2}+\frac {3 x^4}{128}+\frac {45 x \sqrt {1-a^2 x^2} \text {ArcCos}(a x)}{64 a^3}+\frac {3 x^3 \sqrt {1-a^2 x^2} \text {ArcCos}(a x)}{32 a}+\frac {45 \text {ArcCos}(a x)^2}{128 a^4}-\frac {9 x^2 \text {ArcCos}(a x)^2}{16 a^2}-\frac {3}{16} x^4 \text {ArcCos}(a x)^2-\frac {3 x \sqrt {1-a^2 x^2} \text {ArcCos}(a x)^3}{8 a^3}-\frac {x^3 \sqrt {1-a^2 x^2} \text {ArcCos}(a x)^3}{4 a}-\frac {3 \text {ArcCos}(a x)^4}{32 a^4}+\frac {1}{4} x^4 \text {ArcCos}(a x)^4 \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.35, antiderivative size = 198, normalized size of antiderivative = 1.00, number of steps
used = 14, number of rules used = 4, integrand size = 10, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.400, Rules used = {4724, 4796,
4738, 30} \begin {gather*} -\frac {3 \text {ArcCos}(a x)^4}{32 a^4}+\frac {45 \text {ArcCos}(a x)^2}{128 a^4}-\frac {9 x^2 \text {ArcCos}(a x)^2}{16 a^2}-\frac {x^3 \sqrt {1-a^2 x^2} \text {ArcCos}(a x)^3}{4 a}+\frac {3 x^3 \sqrt {1-a^2 x^2} \text {ArcCos}(a x)}{32 a}+\frac {45 x^2}{128 a^2}-\frac {3 x \sqrt {1-a^2 x^2} \text {ArcCos}(a x)^3}{8 a^3}+\frac {45 x \sqrt {1-a^2 x^2} \text {ArcCos}(a x)}{64 a^3}+\frac {1}{4} x^4 \text {ArcCos}(a x)^4-\frac {3}{16} x^4 \text {ArcCos}(a x)^2+\frac {3 x^4}{128} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 30
Rule 4724
Rule 4738
Rule 4796
Rubi steps
\begin {align*} \int x^3 \cos ^{-1}(a x)^4 \, dx &=\frac {1}{4} x^4 \cos ^{-1}(a x)^4+a \int \frac {x^4 \cos ^{-1}(a x)^3}{\sqrt {1-a^2 x^2}} \, dx\\ &=-\frac {x^3 \sqrt {1-a^2 x^2} \cos ^{-1}(a x)^3}{4 a}+\frac {1}{4} x^4 \cos ^{-1}(a x)^4-\frac {3}{4} \int x^3 \cos ^{-1}(a x)^2 \, dx+\frac {3 \int \frac {x^2 \cos ^{-1}(a x)^3}{\sqrt {1-a^2 x^2}} \, dx}{4 a}\\ &=-\frac {3}{16} x^4 \cos ^{-1}(a x)^2-\frac {3 x \sqrt {1-a^2 x^2} \cos ^{-1}(a x)^3}{8 a^3}-\frac {x^3 \sqrt {1-a^2 x^2} \cos ^{-1}(a x)^3}{4 a}+\frac {1}{4} x^4 \cos ^{-1}(a x)^4+\frac {3 \int \frac {\cos ^{-1}(a x)^3}{\sqrt {1-a^2 x^2}} \, dx}{8 a^3}-\frac {9 \int x \cos ^{-1}(a x)^2 \, dx}{8 a^2}-\frac {1}{8} (3 a) \int \frac {x^4 \cos ^{-1}(a x)}{\sqrt {1-a^2 x^2}} \, dx\\ &=\frac {3 x^3 \sqrt {1-a^2 x^2} \cos ^{-1}(a x)}{32 a}-\frac {9 x^2 \cos ^{-1}(a x)^2}{16 a^2}-\frac {3}{16} x^4 \cos ^{-1}(a x)^2-\frac {3 x \sqrt {1-a^2 x^2} \cos ^{-1}(a x)^3}{8 a^3}-\frac {x^3 \sqrt {1-a^2 x^2} \cos ^{-1}(a x)^3}{4 a}-\frac {3 \cos ^{-1}(a x)^4}{32 a^4}+\frac {1}{4} x^4 \cos ^{-1}(a x)^4+\frac {3 \int x^3 \, dx}{32}-\frac {9 \int \frac {x^2 \cos ^{-1}(a x)}{\sqrt {1-a^2 x^2}} \, dx}{32 a}-\frac {9 \int \frac {x^2 \cos ^{-1}(a x)}{\sqrt {1-a^2 x^2}} \, dx}{8 a}\\ &=\frac {3 x^4}{128}+\frac {45 x \sqrt {1-a^2 x^2} \cos ^{-1}(a x)}{64 a^3}+\frac {3 x^3 \sqrt {1-a^2 x^2} \cos ^{-1}(a x)}{32 a}-\frac {9 x^2 \cos ^{-1}(a x)^2}{16 a^2}-\frac {3}{16} x^4 \cos ^{-1}(a x)^2-\frac {3 x \sqrt {1-a^2 x^2} \cos ^{-1}(a x)^3}{8 a^3}-\frac {x^3 \sqrt {1-a^2 x^2} \cos ^{-1}(a x)^3}{4 a}-\frac {3 \cos ^{-1}(a x)^4}{32 a^4}+\frac {1}{4} x^4 \cos ^{-1}(a x)^4-\frac {9 \int \frac {\cos ^{-1}(a x)}{\sqrt {1-a^2 x^2}} \, dx}{64 a^3}-\frac {9 \int \frac {\cos ^{-1}(a x)}{\sqrt {1-a^2 x^2}} \, dx}{16 a^3}+\frac {9 \int x \, dx}{64 a^2}+\frac {9 \int x \, dx}{16 a^2}\\ &=\frac {45 x^2}{128 a^2}+\frac {3 x^4}{128}+\frac {45 x \sqrt {1-a^2 x^2} \cos ^{-1}(a x)}{64 a^3}+\frac {3 x^3 \sqrt {1-a^2 x^2} \cos ^{-1}(a x)}{32 a}+\frac {45 \cos ^{-1}(a x)^2}{128 a^4}-\frac {9 x^2 \cos ^{-1}(a x)^2}{16 a^2}-\frac {3}{16} x^4 \cos ^{-1}(a x)^2-\frac {3 x \sqrt {1-a^2 x^2} \cos ^{-1}(a x)^3}{8 a^3}-\frac {x^3 \sqrt {1-a^2 x^2} \cos ^{-1}(a x)^3}{4 a}-\frac {3 \cos ^{-1}(a x)^4}{32 a^4}+\frac {1}{4} x^4 \cos ^{-1}(a x)^4\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.05, size = 135, normalized size = 0.68 \begin {gather*} \frac {3 a^2 x^2 \left (15+a^2 x^2\right )+6 a x \sqrt {1-a^2 x^2} \left (15+2 a^2 x^2\right ) \text {ArcCos}(a x)-3 \left (-15+24 a^2 x^2+8 a^4 x^4\right ) \text {ArcCos}(a x)^2-16 a x \sqrt {1-a^2 x^2} \left (3+2 a^2 x^2\right ) \text {ArcCos}(a x)^3+4 \left (-3+8 a^4 x^4\right ) \text {ArcCos}(a x)^4}{128 a^4} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.07, size = 213, normalized size = 1.08
method | result | size |
derivativedivides | \(\frac {\frac {a^{4} x^{4} \arccos \left (a x \right )^{4}}{4}-\frac {\arccos \left (a x \right )^{3} \left (2 a^{3} x^{3} \sqrt {-a^{2} x^{2}+1}+3 a x \sqrt {-a^{2} x^{2}+1}+3 \arccos \left (a x \right )\right )}{8}-\frac {3 a^{4} x^{4} \arccos \left (a x \right )^{2}}{16}+\frac {3 \arccos \left (a x \right ) \left (2 a^{3} x^{3} \sqrt {-a^{2} x^{2}+1}+3 a x \sqrt {-a^{2} x^{2}+1}+3 \arccos \left (a x \right )\right )}{64}-\frac {45 \arccos \left (a x \right )^{2}}{128}+\frac {3 \left (2 a^{2} x^{2}+3\right )^{2}}{512}-\frac {9 a^{2} x^{2} \arccos \left (a x \right )^{2}}{16}+\frac {9 \arccos \left (a x \right ) \left (a x \sqrt {-a^{2} x^{2}+1}+\arccos \left (a x \right )\right )}{16}+\frac {9 a^{2} x^{2}}{32}-\frac {9}{32}+\frac {9 \arccos \left (a x \right )^{4}}{32}}{a^{4}}\) | \(213\) |
default | \(\frac {\frac {a^{4} x^{4} \arccos \left (a x \right )^{4}}{4}-\frac {\arccos \left (a x \right )^{3} \left (2 a^{3} x^{3} \sqrt {-a^{2} x^{2}+1}+3 a x \sqrt {-a^{2} x^{2}+1}+3 \arccos \left (a x \right )\right )}{8}-\frac {3 a^{4} x^{4} \arccos \left (a x \right )^{2}}{16}+\frac {3 \arccos \left (a x \right ) \left (2 a^{3} x^{3} \sqrt {-a^{2} x^{2}+1}+3 a x \sqrt {-a^{2} x^{2}+1}+3 \arccos \left (a x \right )\right )}{64}-\frac {45 \arccos \left (a x \right )^{2}}{128}+\frac {3 \left (2 a^{2} x^{2}+3\right )^{2}}{512}-\frac {9 a^{2} x^{2} \arccos \left (a x \right )^{2}}{16}+\frac {9 \arccos \left (a x \right ) \left (a x \sqrt {-a^{2} x^{2}+1}+\arccos \left (a x \right )\right )}{16}+\frac {9 a^{2} x^{2}}{32}-\frac {9}{32}+\frac {9 \arccos \left (a x \right )^{4}}{32}}{a^{4}}\) | \(213\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 3.57, size = 121, normalized size = 0.61 \begin {gather*} \frac {3 \, a^{4} x^{4} + 4 \, {\left (8 \, a^{4} x^{4} - 3\right )} \arccos \left (a x\right )^{4} + 45 \, a^{2} x^{2} - 3 \, {\left (8 \, a^{4} x^{4} + 24 \, a^{2} x^{2} - 15\right )} \arccos \left (a x\right )^{2} - 2 \, \sqrt {-a^{2} x^{2} + 1} {\left (8 \, {\left (2 \, a^{3} x^{3} + 3 \, a x\right )} \arccos \left (a x\right )^{3} - 3 \, {\left (2 \, a^{3} x^{3} + 15 \, a x\right )} \arccos \left (a x\right )\right )}}{128 \, a^{4}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.75, size = 197, normalized size = 0.99 \begin {gather*} \begin {cases} \frac {x^{4} \operatorname {acos}^{4}{\left (a x \right )}}{4} - \frac {3 x^{4} \operatorname {acos}^{2}{\left (a x \right )}}{16} + \frac {3 x^{4}}{128} - \frac {x^{3} \sqrt {- a^{2} x^{2} + 1} \operatorname {acos}^{3}{\left (a x \right )}}{4 a} + \frac {3 x^{3} \sqrt {- a^{2} x^{2} + 1} \operatorname {acos}{\left (a x \right )}}{32 a} - \frac {9 x^{2} \operatorname {acos}^{2}{\left (a x \right )}}{16 a^{2}} + \frac {45 x^{2}}{128 a^{2}} - \frac {3 x \sqrt {- a^{2} x^{2} + 1} \operatorname {acos}^{3}{\left (a x \right )}}{8 a^{3}} + \frac {45 x \sqrt {- a^{2} x^{2} + 1} \operatorname {acos}{\left (a x \right )}}{64 a^{3}} - \frac {3 \operatorname {acos}^{4}{\left (a x \right )}}{32 a^{4}} + \frac {45 \operatorname {acos}^{2}{\left (a x \right )}}{128 a^{4}} & \text {for}\: a \neq 0 \\\frac {\pi ^{4} x^{4}}{64} & \text {otherwise} \end {cases} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.45, size = 173, normalized size = 0.87 \begin {gather*} \frac {1}{4} \, x^{4} \arccos \left (a x\right )^{4} - \frac {3}{16} \, x^{4} \arccos \left (a x\right )^{2} - \frac {\sqrt {-a^{2} x^{2} + 1} x^{3} \arccos \left (a x\right )^{3}}{4 \, a} + \frac {3}{128} \, x^{4} + \frac {3 \, \sqrt {-a^{2} x^{2} + 1} x^{3} \arccos \left (a x\right )}{32 \, a} - \frac {9 \, x^{2} \arccos \left (a x\right )^{2}}{16 \, a^{2}} - \frac {3 \, \sqrt {-a^{2} x^{2} + 1} x \arccos \left (a x\right )^{3}}{8 \, a^{3}} + \frac {45 \, x^{2}}{128 \, a^{2}} - \frac {3 \, \arccos \left (a x\right )^{4}}{32 \, a^{4}} + \frac {45 \, \sqrt {-a^{2} x^{2} + 1} x \arccos \left (a x\right )}{64 \, a^{3}} + \frac {45 \, \arccos \left (a x\right )^{2}}{128 \, a^{4}} - \frac {189}{1024 \, a^{4}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int x^3\,{\mathrm {acos}\left (a\,x\right )}^4 \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________